Optimal. Leaf size=53 \[ -\frac{A b^2}{4 x^4}-\frac{b (2 A c+b B)}{3 x^3}-\frac{c (A c+2 b B)}{2 x^2}-\frac{B c^2}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0301427, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05, Rules used = {765} \[ -\frac{A b^2}{4 x^4}-\frac{b (2 A c+b B)}{3 x^3}-\frac{c (A c+2 b B)}{2 x^2}-\frac{B c^2}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 765
Rubi steps
\begin{align*} \int \frac{(A+B x) \left (b x+c x^2\right )^2}{x^7} \, dx &=\int \left (\frac{A b^2}{x^5}+\frac{b (b B+2 A c)}{x^4}+\frac{c (2 b B+A c)}{x^3}+\frac{B c^2}{x^2}\right ) \, dx\\ &=-\frac{A b^2}{4 x^4}-\frac{b (b B+2 A c)}{3 x^3}-\frac{c (2 b B+A c)}{2 x^2}-\frac{B c^2}{x}\\ \end{align*}
Mathematica [A] time = 0.0145731, size = 50, normalized size = 0.94 \[ -\frac{A \left (3 b^2+8 b c x+6 c^2 x^2\right )+4 B x \left (b^2+3 b c x+3 c^2 x^2\right )}{12 x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 48, normalized size = 0.9 \begin{align*} -{\frac{A{b}^{2}}{4\,{x}^{4}}}-{\frac{b \left ( 2\,Ac+bB \right ) }{3\,{x}^{3}}}-{\frac{c \left ( Ac+2\,bB \right ) }{2\,{x}^{2}}}-{\frac{B{c}^{2}}{x}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.04948, size = 69, normalized size = 1.3 \begin{align*} -\frac{12 \, B c^{2} x^{3} + 3 \, A b^{2} + 6 \,{\left (2 \, B b c + A c^{2}\right )} x^{2} + 4 \,{\left (B b^{2} + 2 \, A b c\right )} x}{12 \, x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.73197, size = 116, normalized size = 2.19 \begin{align*} -\frac{12 \, B c^{2} x^{3} + 3 \, A b^{2} + 6 \,{\left (2 \, B b c + A c^{2}\right )} x^{2} + 4 \,{\left (B b^{2} + 2 \, A b c\right )} x}{12 \, x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.921915, size = 54, normalized size = 1.02 \begin{align*} - \frac{3 A b^{2} + 12 B c^{2} x^{3} + x^{2} \left (6 A c^{2} + 12 B b c\right ) + x \left (8 A b c + 4 B b^{2}\right )}{12 x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12376, size = 69, normalized size = 1.3 \begin{align*} -\frac{12 \, B c^{2} x^{3} + 12 \, B b c x^{2} + 6 \, A c^{2} x^{2} + 4 \, B b^{2} x + 8 \, A b c x + 3 \, A b^{2}}{12 \, x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]